package reviewQuiz

import org.springframework.cloud.contract.spec.Contract

Contract.make {
    request {
        method "GET"
        url value(consumer(regex('/api/v2/students/[0-9]+/assignments/[0-9]+/quizzes/[0-9]+/review')),
                producer('/api/v2/students/21/assignments/1/quizzes/1/review'))
        headers {
            contentType(applicationJsonUtf8())
            header("id",1)
        }
    }
    response {
        status 200
    }
}